package com.zzcoder.mall.data.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@ApiModel(value = "热销商品")
@Data
@Entity
@Table
public class SmsHotProduct extends BaseEntity {
    @ApiModelProperty(value = "商品ID")
    @Column
    private Long productId;

    @ApiModelProperty(value = "商品名称")
    @Column
    private String productName;

    @ApiModelProperty(value = "商品图片")
    @Column
    private String productImgUrl;

    @ApiModelProperty(value = "排名")
    @Column
    private Integer rank;
}
